<%@ page isErrorPage="true" import="java.io.PrintWriter" %>

<jsp:directive.include file="/jsp/includes/taglibs.jsp" />

<fieldset class="full">
	<legend><spring:message code="error.general.legend"/></legend>
	<br/>
	<spring:message code="error.general.reason"/> 
	<br/><br/>
</fieldset>
<br/><br/>
<a href="#" onclick="$('#stacktrace').show(); return false;"><spring:message code="error.general.link"/></a>

<div id="stacktrace" style="display: none;">
<pre>
<% exception.printStackTrace(new PrintWriter(out, true)); %>
</pre>
</div>